package com.ddl.enums;

/**
 * @author: liyuxiang
 * @create: 2018-12-01
 */
public enum StagePropertyTypeEnum {

    TAI_DI("TAI_DI", "100%打跑"),
    DOG_HEAD("DOG_HEAD", "50%打跑"),
    DOG("DOG", "100%打不走"),
    DA_DOG_GUN("DA_DOG_GUN", "打狗棍"),
    DOG_FOOD("DOG_FOOD", "狗粮"),
    DOG_PEN("DOG_PEN", "狗盆"),
    CHAN_SHI_CHAN("CHAN_SHI_CHAN", "铲屎铲"),
    ZUI_DOG_JIU("ZUI_DOG_JIU", "醉狗酒"),
    FEI_LIAO("FEI_LIAO", "肥料"),
    PU_TAO_ZHONG_ZI("PU_TAO_ZHONG_ZI", "葡萄种子"),
    HONG_JIU_MALL("HONG_JIU_MALL", "红酒商城");

    private String type;

    private String desc;

    StagePropertyTypeEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public static boolean isDog(String type) {
        return TAI_DI.getType().equalsIgnoreCase(type) || DOG_HEAD.getType().equalsIgnoreCase(type) || DOG.getType().equalsIgnoreCase(type);
    }
}
